cmake_minimum_required(VERSION 2.6)
project(mine_map)

set(BOOST_MINIMUM_REQUIRED 1.42 CACHE STRING "minimum Boost version") 

set (BOOST_COMPONENTS system program_options)
find_package(Boost ${BOOST_MINIMUM_REQUIRED} COMPONENTS ${BOOST_COMPONENTS} REQUIRED)
    
include_directories(
    ${CMAKE_CURRENT_SOURCE_DIR}
    ${CMAKE_CURRENT_BINARY_DIR}  
    ${CMAKE_CURRENT_SOURCE_DIR}/modules
    ${CMAKE_CURRENT_BINARY_DIR}/modules
    ${Boost_INCLUDE_DIRS}
)

set(OUTPUT_DIR bin)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${OUTPUT_DIR})

add_subdirectory(src)
